package com.xxx.yuedong.campaign.service;

import com.github.pagehelper.PageInfo;
import com.xxx.yuedong.campaign.pojo.Plan;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @author hc
 */
public interface PlanService {
    public int insert(Plan plan);
    public HashMap searchPlanById(Long id);

    public ArrayList<HashMap> searchPlanByGoal(HashMap param);
    public ArrayList<HashMap> searchAllPlan();

    public PageInfo searchPlanList(Integer pageNum, Integer pageSize);
    public int deletePlanByIds(Integer[] ids);

    public int updatePlanById(HashMap param);


}
